#include <stdio.h>
#include<math.h>
int main()
{
	int i,j,sum;
	
	for(i=1,j=1;j<=101;j+=2,i*=-1)
	{
		sum+=i*j;
	}
	printf("sum=%d",sum);
	return 0;
}
